summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/data-room/[projectId]/files/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/data-room/[projectId]/files/page.tsx')
-rw-r--r--app/[lng]/evcp/data-room/[projectId]/files/page.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/[lng]/evcp/data-room/[projectId]/files/page.tsx b/app/[lng]/evcp/data-room/[projectId]/files/page.tsx
index baac96ad..8e07d2b4 100644
--- a/app/[lng]/evcp/data-room/[projectId]/files/page.tsx
+++ b/app/[lng]/evcp/data-room/[projectId]/files/page.tsx
@@ -4,10 +4,9 @@ import { FileManager } from '@/components/file-manager/FileManager';
export default async function ProjectFilesPage({
params,
}: {
- params: { projectId: string };
+ params: Promise<{ projectId: string }>;
}) {
-
- const projectId = await params.projectId
+ const { projectId } = await params;
return (
<div className="h-full flex flex-col">